import React from 'react'
import { useRoutes} from 'react-router-dom'
import { ConfigProvider } from 'antd';
import routes from './router'
export default function App() {
let myRoute = useRoutes(routes);
  return (
    <ConfigProvider
   theme={{

     // 配置具体组件的具体内容
     components:{
  
  }
   }}
    >
      {myRoute}
    </ConfigProvider>
  )
}
